<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
		<link rel="stylesheet" href="/Application/Admin/View/public/css/public.css" />
		<script type="text/javascript" src="/Application/Admin/View/public/js/jquery-1.7.2.min.js"></script>
		<script type="text/javascript" src="/Application/Admin/View/public/js/public.js"></script>
       <!-- 配置文件 -->
    <script type="text/javascript" src="/static//ueditor/ueditor.config.js"></script>
    <!-- 编辑器源码文件 -->
    <script type="text/javascript" src="/static//ueditor/ueditor.all.min.js"></script>

	<title>修改内容</title>

</head>
<body>
	<form action="" method="post">

	
		<table class="table">
			<tr >
				<td class="th" colspan="2">修改内容</td>
			</tr>
			<tr>
				<td>当前所属栏目</td>
				<td>
					
					<select name="pid">
					<?php if(is_array($cateChooseList)): foreach($cateChooseList as $key=>$v): ?><option value="<?php echo ($v["cid"]); ?>" <?php if($v["cid"] == $modelField.cid): ?>selected="selected"<?php endif; ?> ><?php echo ($v["name"]); ?></option><?php endforeach; endif; ?>					
					</select>
				</td>
			</tr>
			<tr>
				<td>标题</td>
				<td><input type="text" name="atitle" class="tdLtitle8" value="<?php echo ($articleData["atitle"]); ?>"/></td>
			</tr>
			<tr>
				<td>副标题</td>
				<td><input type="text" name="asubtitle" class="tdLtitle8" value="<?php echo ($articleData["asubtitle"]); ?>"/></td>
			</tr>
			<tr>
				<td>置顶信息</td>
				<td>
				<input class='np' type='checkbox' name='aattr[]' id='aattrh' value='h' <?php if(in_array('h',$attrData)){ echo 'checked ="checked"';} ?> >头条[h]
				<input class='np' type='checkbox' name='aattr[]' id='aattrc' value='c' <?php if(in_array('c',$attrData)){ echo 'checked ="checked"';} ?>>推荐[c]
				<input class='np' type='checkbox' name='aattr[]' id='aattrf' value='f' <?php if(in_array('f',$attrData)){ echo 'checked ="checked"';} ?>>幻灯[f]
				<input class='np' type='checkbox' name='aattr[]' id='aattra' value='a' <?php if(in_array('a',$attrData)){ echo 'checked ="checked"';} ?>>特荐[a]
				<input class='np' type='checkbox' name='aattr[]' id='aattrs' value='s' <?php if(in_array('s',$attrData)){ echo 'checked ="checked"';} ?> >滚动[s]
				<input class='np' type='checkbox' name='aattr[]' id='aattrb' value='b' <?php if(in_array('b',$attrData)){ echo 'checked ="checked"';} ?>>加粗[b]
				<input class='np' type='checkbox' name='aattr[]' id='aattrp' value='p' <?php if(in_array('p',$attrData)){ echo 'checked ="checked"';} ?>>图片[p]
				<input class='np' type='checkbox' name='aattr[]' id='aattrj' value='j' onclick='ShowUrlTr()' <?php if(in_array('j',$attrData)){ echo 'checked ="checked"';} ?>>跳转[j]            </td>
       </td>
			</tr>
			<tr>
				<td>文章来源</td>
				<td><input type="text" name="asource" class="tdLtitle8" value="<?php echo ($articleData["asource"]); ?>" /></td>
			</tr>
			<tr>
				<td>关键字</td>
				<td><input type="text" name="akeywords" class="tdLtitle8" value="<?php echo ($articleData["akeywords"]); ?>"/></td>
			</tr>
			<tr>
				<td>TAG标签</td>
				<td><input type="text" name="content_rule" class="tdLtitle8" value="<?php echo ($tagstr); ?>" />(多个标签用','号分开，单个标签小于12字节)</td>
			</tr>
			<tr>
				<td>文章摘要</td>
				<td><textarea name="adigest" id="" cols="50" rows="6"><?php echo ($articleData["adigest"]); ?></textarea></td>
			</tr>
			
		<?php echo ($str); ?>

			<tr>
				<td colspan="2">
					<input type="submit" value="修改" class="input_button"/>
					
				</td>
			</tr>
		</table>
	</form>
</body>
</html>